package edu.yourl.persistence;

import java.util.List;

import edu.yourl.domain.User;
import edu.yourl.domain.exception.NicknameAlreadyRegisteredException;

public interface IUserRepository extends IAbstractRepository {

	public void addUser(User user) throws NicknameAlreadyRegisteredException;
	
	public User getUser(String nickname);

	public List<User> searchUsers(final String stringToSearch);
}
